import { createRouter, createWebHistory } from 'vue-router';
import Main from '../views/Main.vue';

const routes = [
  {
    path: '/',
    name: 'Main',
    component: Main
  } ,
  {
    path: '/article',
    name: 'article',
    component: ()=> import('../views/Article.vue')
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;